<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加友情链接</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" type="text/css" href="/thinkblog/Public/static/bootstrap-3.3.5/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/thinkblog/Public/static/bootstrap-3.3.5/css/bootstrap-theme.min.css">
    <link rel="stylesheet" type="text/css" href="/thinkblog/Public/static/font-awesome-4.4.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="/thinkblog/Public/static/css/bjy.css">
    <link rel="stylesheet" type="text/css" href="/thinkblog/Public/Home/css/index.css">
        <link rel="stylesheet" href="/thinkblog/Public/static/iCheck-1.0.2/skins/all.css">
</head>
<body>
<form class="form-group" action="<?php echo U('Admin/Link/add');?>" method="post">
    <table class="table table-bordered table-striped table-hover table-condensed">
        <tr>
            <th>链接名</th>
            <td>
                <input class="form-control modal-sm" type="text" name="lname">
            </td>
        </tr>
        <tr>
            <th>链接地址</th>
            <td>
                <input class="form-control modal-sm" type="text" name="url">
            </td>
        </tr>
        <tr>
            <th>排序</th>
            <td>
                <input class="form-control modal-sm" type="text" name="sort">
            </td>
        </tr>
        <tr>
            <th>是否显示</th>
            <td>
                <span class="inputword">是</span>
                <input id="test" class="icheck" type="radio" name="is_show" value="1" checked="checked">
                &emsp;
                <span class="inputword">否</span>
                <input class="icheck" type="radio" name="is_show" value="0">                
            </td>
        </tr>
        <tr>
            <th></th>
            <td>
                <input class="btn btn-success" type="submit" value="添加">
            </td>
        </tr>
    </table>
</form>
<script src="/thinkblog/Public/static/js/jquery-2.0.0.min.js"></script>
<script>
    logoutUrl="<?php echo U('Home/User/logout');?>";
</script>
<script src="/thinkblog/Public/static/bootstrap-3.3.5/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
<script src="/thinkblog/Public/static/js/html5shiv.min.js"></script>
<script src="/thinkblog/Public/static/js/respond.min.js"></script>
<![endif]-->
<script src="/thinkblog/Public/static/pace/pace.min.js"></script>
<script src="/thinkblog/Public/Home/js/index.js"></script>
<script src="/thinkblog/Public/static/iCheck-1.0.2/icheck.min.js"></script>
<script>
$(document).ready(function(){
    $('.icheck').iCheck({
        checkboxClass: "icheckbox_square-blue",
        radioClass: "iradio_square-blue",
        increaseArea: "20%"
    });
});
</script>
</body>
</html>